﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BusinessObjects
{
    public class SimpleTask
    {
        public SimpleTask( SimplePoint newLocation, SimplePoint currentLocation, GameObject gameObject, Action Complete, double duration )
        {
            this.Complete = Complete;
            this.NewLocation = newLocation;
            this.GameObject = gameObject;
            this.CurrentLocation = currentLocation;
            this.Duration = duration;
        }

        public Action Complete
        {
            get;
            private set;
        }

        public GameObject GameObject
        {
            get;
            private set;
        }

        public SimplePoint NewLocation
        {
            get;
            set;
        }

        public SimplePoint CurrentLocation
        {
            get;
            set;
        }

        /// <summary>
        /// In Milliseconds 
        /// </summary>
        public double Duration
        {
            get;
            set;
        }
    }
}
